
#include <stdio.h>

typedef struct {
  long n;
  long m;
  long **links;
  long *degrees;
} GRAPH;

GRAPH *graph_from_file(FILE *, long);
int graph_to_file(FILE *f, GRAPH *G);

